package enterprise.web.tookit.account;

import javax.annotation.Resource;
import javax.ejb.EJBContext;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.apache.log4j.Logger;

/**
 * @since 21/11/2012
 * 
 * @author regis rocha
 * 
 *         Session Bean implementation class AccountBean
 */
@Stateless(mappedName = "/ejb/account")
public class AccountBean implements AccountBeanRemote {

	/**
	 * Default constructor.
	 */
	public AccountBean() {
	}

	/**
	 * log
	 */
	private static final Logger LOG = Logger.getLogger(AccountBean.class);

	@Resource
	private EJBContext ctx;

	@PersistenceContext
	private EntityManager credencial;

	@Override
	public void createAccount(Account account) {

	}

	@Override
	public Account updateAccount(Account account) {
		return null;
	}

	@Override
	public boolean verifyExistingAccount(Account account) {
		return false;
	}

}
